package com.example.service;

// SupplierServiceImpl.java

import com.example.dto.SupplierQueryVO;
import com.example.entity.SupplierInfo;
import com.example.mapper.SupplierMapper;
import com.example.service.SupplierService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SupplierServiceImpl implements SupplierService {

    @Autowired
    private SupplierMapper supplierMapper;

    @Override
    public List<SupplierInfo> listByQuery(SupplierQueryVO vo) {
        return supplierMapper.selectByQuery(vo);
    }
}

